package net.maku.propagate.convert;

import net.maku.propagate.entity.PropagateEducationEntity;
import net.maku.propagate.vo.PropagateEducationVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 宣传教育
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-16
*/
@Mapper
public interface PropagateEducationConvert {
    PropagateEducationConvert INSTANCE = Mappers.getMapper(PropagateEducationConvert.class);

    PropagateEducationEntity convert(PropagateEducationVO vo);

    PropagateEducationVO convert(PropagateEducationEntity entity);

    List<PropagateEducationVO> convertList(List<PropagateEducationEntity> list);

}